package com.hansming.bss.modules.sfc.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hansming.bss.common.service.CrudService;
import com.hansming.bss.modules.sfc.dao.SuggestDao;
import com.hansming.bss.modules.sfc.entity.Suggest;

@Service
@Transactional(readOnly = true)
public class SuggestService extends CrudService<SuggestDao,Suggest>{
	
	@Autowired
	private SuggestDao suggestDao;
	
	
	//================小程序使用=============
	//提交意见
	@Transactional(readOnly = false)
	public void saveSuggest(Suggest suggest){
		suggestDao.saveSuggest(suggest);
	}
}
